<h2 mat-dialog-title>Click activity to open</h2>
<mat-dialog-content class="mat-body-1">
  <mat-nav-list>
    <mat-list-item *ngFor="let activityId of dayFitnessTrendModel.ids; let index = index;">
			<span (click)="openActivity(activityId)" matLine><span
        class="mat-body-1"><i>{{dayFitnessTrendModel.activitiesName[index]}}</i></span></span>
      <mat-divider *ngIf="index < (dayFitnessTrendModel.ids.length - 1)"></mat-divider>
    </mat-list-item>
  </mat-nav-list>
</mat-dialog-content>
<mat-dialog-actions>
  <button color="primary" mat-dialog-close mat-stroked-button>Back</button>
</mat-dialog-actions>
